.z-player_controller-bar {
  position: relative;
  background: rgba(128, 128, 128, .4);
  width: 100%;
  margin-top: 5px;
  margin-bottom: 8px;
  height: 5px;
  cursor: pointer;

  &:hover {
    .z-player_controller-bar_played .z-player_controller-bar_thumb {
      transform: scale(1);
    }
  }

  .z-player_controller-bar_highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    .z-player_controller-bar_highlight-item {
      position: absolute;
      background: rgba(255, 255, 255, .8);
      color: rgba(255, 255, 255, .8);
      top: 0;
      width: 5px;
      height: 5px;
    }
  }

  .z-player_controller-bar_time {
    position: absolute;
    top: -28px;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, .8);
    color: #fff;
    text-align: center;
    word-wrap: normal;
    word-break: normal;
  }

  .z-player_controller-bar_loaded {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .5;
    height: 100%;
    background: #fff;
    transition: all .2s ease;
    will-change: width;
  }

  .z-player_controller-bar_played {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .8;
    height: 100%;
    background: deepskyblue;

    .z-player_controller-bar_thumb {
      position: absolute;
      background: deepskyblue;
      top: 0;
      right: 5px;
      margin-top: -4px;
      margin-right: -10px;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      transition: all .2s ease-in-out;
      transform: scale(0);
    }
  }
}

.z-player_controller-box {
  flex: 1;
  width: 100%;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;

  .z-player_controller-box-icon {
    width: 40px;
    height: 35px;
    padding: 0 8px;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    box-sizing: border-box;
    display: inline-block;
    transition: all .2s ease-in-out;
    opacity: .5;

    &:hover {
      opacity: 1;
    }
  }

  .z-player_controller-box_left {
    flex: 1;
    display: flex;
    align-items: center;

    .z-player_controller-box-time {
      color: #fff;
      margin-left: 4px;
      white-space: nowrap;
    }
  }

  .z-player_controller-box_right {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

.z-player_controller-volume-wrap {
  position: absolute;
  left: 40px;
  top: -100px;
  width: 32px;
  margin: 0 4px;
  padding: 5px 0;
  height: 70px;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  transition: all .2s ease;

  .z-player_controller-volume-bar {
    position: absolute;
    width: 4px;
    background: gray;
    left: 14px;
    bottom: 10px;
    height: 42px;
    cursor: pointer;

    .z-player_controller-volume-bar_current {
      position: absolute;
      width: 100%;
      background: deepskyblue;
      left: 0;
      bottom: 0;
      will-change: width;

      .z-player_controller-volume-bar_thumb {
        position: absolute;
        background: deepskyblue;
        top: 0;
        right: 6px;
        margin-top: -6px;
        margin-right: -10px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
      }
    }
  }
}

.z-player_controller-rate-wrap {
  position: absolute;
  left: 0;
  top: -130px;
  width: 40px;
  margin: 0 4px;
  padding: 5px 0;
  height: 100px;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  transition: all .2s ease;

  .z-player_controller-rate-value {
    height: 20px;
    line-height: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;

    &:hover,
    &.z-player_controller-rate-checked {
      background-color: deepskyblue;
      opacity: .8;
    }
  }
}
